package com.mida.dms.knw.mapper;

import com.mida.dms.knw.entity.KnwIndividual;
import com.mida.dms.knw.entity.vo.KnwIndividualVo;
import com.mida.dms.knw.entity.vo.MapperPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KnwIndividualMapper extends BaseMapper<KnwIndividual> {

    void updateByIndividualSoid(@Param("individualSoid") Long individualSoid, @Param("status") Long status) throws Exception;
    /**
     * 分页
     * @param page
     * @return
     */
    List<KnwIndividualVo> getKnwIndividualPage(MapperPage page) throws Exception;

    void insertSelective(KnwIndividual knwIndividual) throws Exception;

    void updateByPrimaryKeySelective(KnwIndividual knwIndividualT) throws Exception;

    List<KnwIndividualVo> getKnwIndividualAll(@Param("searChData") String searChData, @Param("noumenonSoid") Long noumenonSoid);

    List<String> selectIndividualNameList(List<Long> list);

    List<KnwIndividualVo> selectIndividualNames(MapperPage mapperPage);
}